<?php $this->widget('bootstrap.widgets.TbMenu', array(
	'type'=>'tabs', // '', 'tabs', 'pills' (or 'list')
	'stacked'=>false, // whether this is a stacked menu
	'items'=>array(
		array('label'=>'Клиенты', 'url'=>Yii::app()->createUrl('clients/search'), 'active' => $active=='clients'?true:false),
		array('label'=>'Рассрочки', 'url'=>Yii::app()->createUrl('credits/search'), 'active' => $active=='credits'?true:false),
	),
)); ?>